package me.sealer.algorithm.hash.node;

/**
 * @author sealer
 * @date 2018/06/04.
 * @email 1178884049@qq.com
 */
public abstract class AbstractClientNode implements ClientNode {
    protected String host;
    protected int port;

    public AbstractClientNode(String host, int port) {
        this.host = host;
        this.port = port;
    }

    @Override
    public String toString() {
        return "AbstractClientNode{" +
                "host='" + host + '\'' +
                ", port=" + port +
                '}';
    }
}
